﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="CategoryDetail.aspx.cs" Inherits="MallInteractiveMap.CMSWebClient.BasicView.CategoryDetail" %>
<%@ Import Namespace="MallInteractiveMap.Language" %>

<%@ Register TagPrefix="tbl" TagName="Toolbar" Src="~/Common/MIMToolbar.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <%= LanguageLoader.GetText("CATEGORY_INFORMATION")%>
    </h2>
    <div style="margin-bottom: 5px; margin-top: 10px;">
        <tbl:Toolbar runat="server" ID="tblCategory" NewButtonLink="~/BasicView/Category.aspx"     />
    </div>
    <div>
        <MIMCtl:MIMGridView runat="server" ID="CategoryGrid" DataKeyNames="Id" SkinID="gridviewSkin"
            EmptyDataText="No Available Category" OnSorting="CategoryGrid_Sorting" OnPageIndexChanging="CategoryGrid_PageIndexChanging">
            <Columns>
                <asp:BoundField HeaderText="Name" HeaderStyle-HorizontalAlign="Center" DataField="Name"
                    SortExpression="Name" />                
            </Columns>
        </MIMCtl:MIMGridView>
    </div>
</asp:Content>
